package descentFly.app.tools
{
	import UIFree.ObjectEvent;
	import UIFree.controls.uif_label;
	import UIFree.uif_component;
	import UIFree.uif_ecomponent;
	
	import descentFly.app.df_component;
	import descentFly.app.df_label;
	import descentFly.app.df_panel;
	import descentFly.app.df_progressBar;
	import descentFly.chips.df_chip;
	import descentFly.df_space;
	
	import flash.events.Event;
	import flash.geom.Rectangle;
	
	public class df_progressTool extends df_toolBlock
	{
		private var _pb			: df_progressBar;
		private var _label		: df_label;
		
		public function df_progressTool(parent:uif_component, awidth: int=0, aheight:int=0) {
			super(parent, awidth, aheight);
		}
		
		override protected function createComponents(layer:df_component, inner:Rectangle):void {
			_label 	= new df_label(layer, inner.x, inner.y, inner.width, df_label.DEFAULTHEIGHT, 'toolLabel');
			_pb 	= new df_progressBar(layer, inner.x, inner.y + 18, inner.width, 8);
		}
		
		public function get label(): df_label {
			return _label;
		}
		
		public function get pb(): df_progressBar {
			return _pb;
		}
	}
}